package com.wanmait.gohome.pojo;

import java.io.Serializable;
import java.util.Date;

public class Attention implements Serializable {
    private Integer id;

    /**
	* 关联用户表
	*/
    private Integer userinfoId;

    /**
	* 关联遗失者表
	*/
    private Information information;
    private LostType lostType;

    /**
	* 关注时间
	*/
    private Date attentionTime;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Information getInformation() {
        return information;
    }

    public void setInformation(Information information) {
        this.information = information;
    }

    public LostType getLostType() {
        return lostType;
    }

    public void setLostType(LostType lostType) {
        this.lostType = lostType;
    }

    public Date getAttentionTime() {
        return attentionTime;
    }

    public void setAttentionTime(Date attentionTime) {
        this.attentionTime = attentionTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userinfoId=").append(userinfoId);
        sb.append(", attentionTime=").append(attentionTime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}